package com.leha.forum.lehare.service;

import com.leha.forum.lehare.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
* @author Administrator
* @description 针对表【permission】的数据库操作Service
* @createDate 2025-04-15 21:44:28
*/
public interface PermissionService extends IService<Permission> {
    @Transactional
    boolean deletePermission(Integer permissionId);

    boolean saveOrUpdatePermission(Permission permission);
}
